package com.ling.pl.autoproject.definition.component.form.model;

import com.ling.pl.autoproject.definition.component.model.GridLayout;
import com.ling.pl.autoproject.definition.component.model.TableLayout;
import com.ling.pl.core.commons.annotation.Dict;
import com.ling.pl.core.commons.annotation.ModelProperty;

import javax.persistence.Column;
import javax.persistence.Embedded;

public class FormGroupBase extends FormContainerBase {

    @Column(name = "IS_DICT_CODE_CONFIG")
    @ModelProperty(comment = "显示标题栏")
    Boolean isTitle;

    @Column(name = "DICT_CODE_CONFIG_TYPE", length = 150)
    @ModelProperty(comment = "输出代码表配置模式")
    @Dict(code = "builder.component.titleCloseType", des = "无,启用关闭默认打开,启用关闭默认关闭")
    String titleCloseType;

    @Embedded
    GridLayout gridLayout;

    @Embedded
    TableLayout tableLayout;
}
